﻿using System;
namespace Gx.Model.Entity
{

    /// <summary>
    /// 员工表
    /// </summary>
    public partial class B_EmployeeInfo
    {
        private string _empnum;
        private string _empname;
        private string _emppwd;
        private string _empcard;
        private DateTime _empbirthday;
        private string _empmobile;
        private string _urgentname;
        private string _urgentmobile;
        private string _depname;
        private string _levelname;
        private string _rolename;
        private string _caption;
        private string _wxopenid;
        private DateTime _addtime;
        private DateTime _lastedittime;
        public int EmployeeId { get; set; }
        public int CityId { get; set; }
        public string EmpNum
        {
            get
            {
                if (_empnum == null)
                {
                    return "";
                }
                return _empnum;
            }
            set { _empnum = value; }
        }
        public string EmpName
        {
            get
            {
                if (_empname == null)
                {
                    return "";
                }
                return _empname;
            }
            set { _empname = value; }
        }
        public string EmpPwd
        {
            get
            {
                if (_emppwd == null)
                {
                    return "";
                }
                return _emppwd;
            }
            set { _emppwd = value; }
        }
        public string EmpCard
        {
            get
            {
                if (_empcard == null)
                {
                    return "";
                }
                return _empcard;
            }
            set { _empcard = value; }
        }
        public DateTime EmpBirthday
        {
            get
            {
                if (_empbirthday == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _empbirthday;
            }
            set { _empbirthday = value; }
        }
        public byte EmpSex { get; set; }
        public byte EmpAge { get; set; }
        public byte EmpCulture { get; set; }
        public string EmpMobile
        {
            get
            {
                if (_empmobile == null)
                {
                    return "";
                }
                return _empmobile;
            }
            set { _empmobile = value; }
        }
        public string UrgentName
        {
            get
            {
                if (_urgentname == null)
                {
                    return "";
                }
                return _urgentname;
            }
            set { _urgentname = value; }
        }
        public string UrgentMobile
        {
            get
            {
                if (_urgentmobile == null)
                {
                    return "";
                }
                return _urgentmobile;
            }
            set { _urgentmobile = value; }
        }
        public short EmpProvince { get; set; }
        public short EmpCity { get; set; }
        public short EmpArea { get; set; }
        public int DepId { get; set; }
        public string DepName
        {
            get
            {
                if (_depname == null)
                {
                    return "";
                }
                return _depname;
            }
            set { _depname = value; }
        }
        public int LevelId { get; set; }
        public string LevelName
        {
            get
            {
                if (_levelname == null)
                {
                    return "";
                }
                return _levelname;
            }
            set { _levelname = value; }
        }
        public int RoleId { get; set; }
        public string RoleName
        {
            get
            {
                if (_rolename == null)
                {
                    return "";
                }
                return _rolename;
            }
            set { _rolename = value; }
        }
        public bool IsWork { get; set; }
        public string Caption
        {
            get
            {
                if (_caption == null)
                {
                    return "";
                }
                return _caption;
            }
            set { _caption = value; }
        }
        public string WxOpenId
        {
            get
            {
                if (_wxopenid == null)
                {
                    return "";
                }
                return _wxopenid;
            }
            set { _wxopenid = value; }
        }
        public int Status { get; set; }
        public DateTime AddTime
        {
            get
            {
                if (_addtime == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _addtime;
            }
            set { _addtime = value; }
        }
        public int AddUser { get; set; }
        public DateTime LastEditTime
        {
            get
            {
                if (_lastedittime == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _lastedittime;
            }
            set { _lastedittime = value; }
        }
        public int LastEditUser { get; set; }

        public int CompanyId { get; set; }


        public string CompanyName { get; set; }
    }


    public partial class B_EmployeeInfo
    {
        public string WareHouseName { get; set; }
    }
}
